using System;
using System.Collections.Generic;
using System.Text;

namespace THSLib
{
    #region STTHSCommandParametersInfo
    /// <summary>
    /// This object represents the properties and methods of a STTHSCommandParameters.
    /// </summary>
    public class STTHSCommandParametersInfo : BusinessObject
    {

        protected int _sTTHSCommandParameterID;
        protected int _sTTHSDataTableID;
        protected string _sTTHSCommandParameterName = DefaultString;
        protected string _sTTHSCommandParameterType = DefaultString;

        public STTHSCommandParametersInfo()
        {
        }

        public STTHSCommandParametersInfo(int iSTTHSDataTableID, string strSTTHSCommandParameterName, string strSTTHSCommandParameterType)
        {
            STTHSDataTableID = iSTTHSDataTableID;
            STTHSCommandParameterName = strSTTHSCommandParameterName;
            STTHSCommandParameterType = strSTTHSCommandParameterType;
        }

        #region Public Properties
        public int STTHSCommandParameterID
        {
            get { return _sTTHSCommandParameterID; }
            set
            {
                if (value != this._sTTHSCommandParameterID)
                {
                    _sTTHSCommandParameterID = value;
                    NotifyChanged("STTHSCommandParameterID");
                }
            }
        }

        public int STTHSDataTableID
        {
            get { return _sTTHSDataTableID; }
            set
            {
                if (value != this._sTTHSDataTableID)
                {
                    _sTTHSDataTableID = value;
                    NotifyChanged("STTHSDataTableID");
                }
            }
        }

        public string STTHSCommandParameterName
        {
            get { return _sTTHSCommandParameterName; }
            set
            {
                if (value != this._sTTHSCommandParameterName)
                {
                    _sTTHSCommandParameterName = value;
                    NotifyChanged("STTHSCommandParameterName");
                }
            }
        }

        public string STTHSCommandParameterType
        {
            get { return _sTTHSCommandParameterType; }
            set
            {
                if (value != this._sTTHSCommandParameterType)
                {
                    _sTTHSCommandParameterType = value;
                    NotifyChanged("STTHSCommandParameterType");
                }
            }
        }
        #endregion
    }
    #endregion
}
